home *** CD-ROM | disk | FTP | other *** search
/ Megahits 5 / Megahits 5 (1994)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso / archive / show / jpegagasrc10.lha / jpeg / README.AMIGA < prev    next >
Text File  |  1994-06-05  |  1KB  |  32 lines

  1. This directory contains the Independent JPEG Group's JPEG software.
  2. (jpegsrc.V4.tar.Z)
  3. I made no changes to the original distribution but I created
  4. the makefile for gcc on the Amiga and renamed jmemname.c to jmemsys.c.
  5.  
  6. NOTE: Using Aztec C 5.2a and full optimization (option -so) will create
  7. wrong code when compiling for the 68020 processor. In any case, the code
  8. will be much slower than the version created by gcc.
  9.  
  10.  
  11.  
  12. To recompile djpeg and cjpeg with gcc:
  13. (I used version 2.5.8)
  14.  
  15. - edit the standard include file stdlib.h and set EXIT_FAILURE to 10
  16.  
  17. - edit the file makefile.gcc.amiga and set the compiler options
  18.   according to your processor model
  19.  
  20. - enter "make -f makefile.gcc.amiga" to create cjpeg and djpeg
  21.  
  22. - enter "make -f makefile.gcc.amiga test" to test if the programs
  23.   really work (you need the command cmp into your search path)
  24.   You should not get any error messages.
  25.  
  26. - enter "make -f makefile.gcc.amiga libjpeg.a" to create the linker library
  27.   libjpeg.a, it should be copied then to the gcc:lib directory
  28.  
  29. - to reduce the size of the binaries remove the symbol hunks
  30.   (for example with the program stripa from the developer disks
  31.   released by Commodore)
  32.